<template>
    <div style="width: 100%;height: 100%;background-size: cover;">

    </div>
</template>
<script>
    (function (){
        return {
            left:94,
            top:148,
            width:1140,
            height:198,
            name:"list",
            listPos:Q.getInt("listPos"),
            listItem:{
                "row":2,
                "col":1,
                "width":1144,
                "height":198,
                "space_top":20,
                "space_left":0,
                "padding_left":0,
                "padding_top":0
            },
            data:[],
            create:function(){
                if(this.listPos!=-1 && Q.getDecoded("listPos") != "null"){
                    this.page = Q.getInt('page');
                }else{
                    this.page = 0;
                }
                this.fetchListData();
            },
            updated:function(){
                this.listFocus = new Focus({
                    containner:this.containner,
                    focusFolder:"images/focus20",
                    td:16,
                    padding_left:4.6,
                    padding_top:4.6,
                    spacing_left:4,
                    spacing_top:4
                });
            },
            fetchListData:function(getFocusFlag){

            },
            overBottom:function(){
                if(this.page<this.totalPage){
                    this.page++;
                    this.fetchListData(1)
                    return true;
                }else{
                    return false;
                }
            },
            overTop:function(){
                if(this.page>0){
                    this.page--;
                    this.fetchListData(1);
                    return true;
                }
            },
            enter:function (item) {
                
            }
        }
    })()
</script>